const config = {
  default: {
    // Feature files location
    features: [
      'features/processing/**/*.feature'
    ],
    
    // Step definitions location
    import: [
      'features/step/**/*.ts',
      'tests/cucumber/support/world.js'
    ],
    
    // Loader for ES modules
    loader: ['ts-node/esm'],
    
    // Format options
    format: [
      '@cucumber/pretty-formatter',
      'html:reports/cucumber-report.html'
    ],
    
    // Language support for Chinese
    language: 'zh-CN',
    
    // Parallel execution
    parallel: 1,
    
    // Retry failed scenarios
    retry: 1,
    
    // Exit on first failure
    failFast: false,
    
    // Strict mode
    strict: true,
    
    // Dry run option
    dryRun: false,
    
    // World parameters
    worldParameters: {
      // Add any world parameters here
    }
  }
};

module.exports = config;